package com.action.blog.board;

public class DeleteAction {
	private int jsptype;
	private int ono;
	private int no;
	private String result;
	private String page;

	public String getPage() {
		return page;
	}

	public void setPage(String page) {
		this.page = page;
	}

	public int getJsptype() {
		return jsptype;
	}

	public void setJsptype(int jsptype) {
		this.jsptype = jsptype;
	}

	public int getOno() {
		return ono;
	}

	public void setOno(int ono) {
		this.ono = ono;
	}

	public String getResult() {
		return result;
	}

	public void setResult(String result) {
		this.result = result;
	}

	public int getNo() {
		return no;
	}

	public void setNo(int no) {
		this.no = no;
	}

	public String bbdelete() throws Exception {

		System.out.println("delete : " + no);

		return "success";
	}
	
	public String bpdelete() throws Exception {

		System.out.println("delete : " + no);

		return "success";
	}
}
